[INFO] fetching crate erc721 3.0.0...
[INFO] fixing erc721-3.0.0 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] extracting crate erc721 3.0.0 into /workspace/builds/worker-6-tc2/source
[INFO] started tweaking crates.io crate erc721 3.0.0
[INFO] finished tweaking crates.io crate erc721 3.0.0
[INFO] tweaked toml for crates.io crate erc721 3.0.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate erc721 3.0.0 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 89 packages to latest compatible versions
[INFO] [stderr]       Adding generic-array v0.14.7 (available: v0.14.9)
[INFO] [stderr]       Adding ink_env v3.4.0 (available: v5.1.1)
[INFO] [stderr]       Adding ink_metadata v3.4.0 (available: v5.1.1)
[INFO] [stderr]       Adding ink_primitives v3.4.0 (available: v5.1.1)
[INFO] [stderr]       Adding ink_storage v3.4.0 (available: v5.1.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 63c9f7bb64bb309dc76bc27595a382fcde09bc1449ae409cd64ef6fe03199ea3
[INFO] running `Command { std: "docker" "start" "63c9f7bb64bb309dc76bc27595a382fcde09bc1449ae409cd64ef6fe03199ea3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "63c9f7bb64bb309dc76bc27595a382fcde09bc1449ae409cd64ef6fe03199ea3" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "63c9f7bb64bb309dc76bc27595a382fcde09bc1449ae409cd64ef6fe03199ea3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "63c9f7bb64bb309dc76bc27595a382fcde09bc1449ae409cd64ef6fe03199ea3" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling quote v1.0.46
[INFO] [stderr]    Compiling hashbrown v0.17.1
[INFO] [stderr]    Compiling winnow v1.0.3
[INFO] [stderr]    Compiling toml_datetime v1.1.1+spec-1.1.0
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]     Checking typenum v1.20.1
[INFO] [stderr]     Checking konst_macro_rules v0.2.19
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling zerocopy v0.8.52
[INFO] [stderr]    Compiling shlex v2.0.1
[INFO] [stderr]    Compiling parity-scale-codec v3.7.5
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]     Checking konst v0.2.20
[INFO] [stderr]    Compiling cc v1.2.65
[INFO] [stderr]     Checking byte-slice-cast v1.2.3
[INFO] [stderr]     Checking arrayvec v0.7.7
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling autocfg v1.5.1
[INFO] [stderr]    Compiling indexmap v2.14.0
[INFO] [stderr]     Checking ink_prelude v3.4.0
[INFO] [stderr]    Compiling either v1.16.0
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]     Checking keccak v0.1.6
[INFO] [stderr]     Checking ink_allocator v3.4.0
[INFO] [stderr]     Checking array-init v2.1.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling syn v2.0.118
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling const_format_proc_macros v0.2.34
[INFO] [stderr]    Compiling secp256k1-sys v0.6.1
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]     Checking const_format v0.2.36
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling blake2 v0.10.6
[INFO] [stderr]    Compiling toml_parser v1.1.2+spec-1.1.0
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking sha3 v0.10.9
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]    Compiling toml_edit v0.25.12+spec-1.1.0
[INFO] [stderr]    Compiling proc-macro-crate v3.5.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling impl-serde v0.3.2
[INFO] [stderr]    Compiling ink_lang_ir v3.4.0
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.6
[INFO] [stderr]    Compiling ink_storage_derive v3.4.0
[INFO] [stderr]     Checking secp256k1 v0.24.3
[INFO] [stderr]    Compiling impl-trait-for-tuples v0.2.3
[INFO] [stderr]    Compiling parity-scale-codec-derive v3.7.5
[INFO] [stderr]    Compiling derive_more-impl v1.0.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling scale-info-derive v2.11.6
[INFO] [stderr]    Compiling derive_more v0.99.20
[INFO] [stderr]     Checking derive_more v1.0.0
[INFO] [stderr]    Compiling scale-info v2.11.6
[INFO] [stderr]    Compiling ink_lang_codegen v3.4.0
[INFO] [stderr]    Compiling ink_primitives v3.4.0
[INFO] [stderr]     Checking ink_engine v3.4.0
[INFO] [stderr]    Compiling ink_lang_macro v3.4.0
[INFO] [stderr]     Checking ink_metadata v3.4.0
[INFO] [stderr]     Checking ink_env v3.4.0
[INFO] [stderr]     Checking ink_storage v3.4.0
[INFO] [stderr]     Checking ink_lang v3.4.0
[INFO] [stderr]     Checking erc721 v3.0.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating lib.rs from 2021 edition to 2024
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> lib.rs:71:5
[INFO] [stdout]    |
[INFO] [stdout] 71 | /     #[derive(Default, SpreadAllocate)]
[INFO] [stdout] 72 | |     pub struct Erc721 {
[INFO] [stdout] 73 | |         /// Mapping from token to owner.
[INFO] [stdout] 74 | |         token_owner: Mapping<TokenId, AccountId>,
[INFO] [stdout] ...  |
[INFO] [stdout] 80 | |         operator_approvals: Mapping<(AccountId, AccountId), ()>,
[INFO] [stdout] 81 | |     }
[INFO] [stdout]    | |_____^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout]    = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 71 ~     unsafe(#[derive(Default, SpreadAllocate)]
[INFO] [stdout] 72 |     pub struct Erc721 {
[INFO] [stdout] ...
[INFO] [stdout] 80 |         operator_approvals: Mapping<(AccountId, AccountId), ()>,
[INFO] [stdout] 81 ~     })
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: errors present after applying fixes to crate `erc721`
[INFO] [stderr]  --> lib.rs
[INFO] [stderr]   = cause: error: expected item after attributes
[INFO] [stderr]              --> lib.rs:70:5
[INFO] [stderr]               |
[INFO] [stderr]            70 |     #[ink(storage)]
[INFO] [stderr]               |     ^^^^^^^^^^^^^^^
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: aborting due to 1 previous error
[INFO] [stderr] help: to report this as a bug, open an issue at https://github.com/rust-lang/rust/issues, quoting the full output of this command
[INFO] [stderr] help: to possibly apply more fixes, pass in the `--broken-code` flag
[INFO] [stderr] note: original diagnostics will follow:
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.99s
[INFO] [stderr] crater-edition-check: erc721 v3.0.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking erc721 v3.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_Storage`
[INFO] [stdout]   --> lib.rs:71:5
[INFO] [stdout]    |
[INFO] [stdout] 71 | /     #[derive(Default, SpreadAllocate)]
[INFO] [stdout] 72 | |     pub struct Erc721 {
[INFO] [stdout] 73 | |         /// Mapping from token to owner.
[INFO] [stdout] 74 | |         token_owner: Mapping<TokenId, AccountId>,
[INFO] [stdout] ...  |
[INFO] [stdout] 80 | |         operator_approvals: Mapping<(AccountId, AccountId), ()>,
[INFO] [stdout] 81 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `default`, `ink-as-dependency`, `ink_metadata`, `scale-info`, and `std`
[INFO] [stdout]    = help: consider adding `__ink_dylint_Storage` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_EventBase`
[INFO] [stdout]   --> lib.rs:55:1
[INFO] [stdout]    |
[INFO] [stdout] 55 | #[ink::contract]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `default`, `ink-as-dependency`, `ink_metadata`, `scale-info`, and `std`
[INFO] [stdout]    = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `ink::contract` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: this warning originates in the attribute macro `ink::contract` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_Constructor`
[INFO] [stdout]    --> lib.rs:129:9
[INFO] [stdout]     |
[INFO] [stdout] 129 | /         /// Creates a new ERC-721 token contract.
[INFO] [stdout] 130 | |         #[ink(constructor)]
[INFO] [stdout] 131 | |         pub fn new() -> Self {
[INFO] [stdout] ...   |
[INFO] [stdout] 134 | |             ink_lang::utils::initialize_contract(|_| {})
[INFO] [stdout] 135 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `default`, `ink-as-dependency`, `ink_metadata`, `scale-info`, and `std`
[INFO] [stdout]     = help: consider adding `__ink_dylint_Constructor` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_Storage`
[INFO] [stdout]   --> lib.rs:71:5
[INFO] [stdout]    |
[INFO] [stdout] 71 | /     #[derive(Default, SpreadAllocate)]
[INFO] [stdout] 72 | |     pub struct Erc721 {
[INFO] [stdout] 73 | |         /// Mapping from token to owner.
[INFO] [stdout] 74 | |         token_owner: Mapping<TokenId, AccountId>,
[INFO] [stdout] ...  |
[INFO] [stdout] 80 | |         operator_approvals: Mapping<(AccountId, AccountId), ()>,
[INFO] [stdout] 81 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `default`, `ink-as-dependency`, `ink_metadata`, `scale-info`, and `std`
[INFO] [stdout]    = help: consider adding `__ink_dylint_Storage` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_EventBase`
[INFO] [stdout]   --> lib.rs:55:1
[INFO] [stdout]    |
[INFO] [stdout] 55 | #[ink::contract]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `default`, `ink-as-dependency`, `ink_metadata`, `scale-info`, and `std`
[INFO] [stdout]    = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `ink::contract` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: this warning originates in the attribute macro `ink::contract` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_Constructor`
[INFO] [stdout]    --> lib.rs:129:9
[INFO] [stdout]     |
[INFO] [stdout] 129 | /         /// Creates a new ERC-721 token contract.
[INFO] [stdout] 130 | |         #[ink(constructor)]
[INFO] [stdout] 131 | |         pub fn new() -> Self {
[INFO] [stdout] ...   |
[INFO] [stdout] 134 | |             ink_lang::utils::initialize_contract(|_| {})
[INFO] [stdout] 135 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `default`, `ink-as-dependency`, `ink_metadata`, `scale-info`, and `std`
[INFO] [stdout]     = help: consider adding `__ink_dylint_Constructor` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> lib.rs:71:5
[INFO] [stdout]    |
[INFO] [stdout] 71 | /     #[derive(Default, SpreadAllocate)]
[INFO] [stdout] 72 | |     pub struct Erc721 {
[INFO] [stdout] 73 | |         /// Mapping from token to owner.
[INFO] [stdout] 74 | |         token_owner: Mapping<TokenId, AccountId>,
[INFO] [stdout] ...  |
[INFO] [stdout] 80 | |         operator_approvals: Mapping<(AccountId, AccountId), ()>,
[INFO] [stdout] 81 | |     }
[INFO] [stdout]    | |_____^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 71 ~     unsafe(#[derive(Default, SpreadAllocate)]
[INFO] [stdout] 72 |     pub struct Erc721 {
[INFO] [stdout] ...
[INFO] [stdout] 80 |         operator_approvals: Mapping<(AccountId, AccountId), ()>,
[INFO] [stdout] 81 ~     })
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `erc721` (lib) due to 1 previous error; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "63c9f7bb64bb309dc76bc27595a382fcde09bc1449ae409cd64ef6fe03199ea3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "63c9f7bb64bb309dc76bc27595a382fcde09bc1449ae409cd64ef6fe03199ea3", kill_on_drop: false }`
[INFO] [stdout] 63c9f7bb64bb309dc76bc27595a382fcde09bc1449ae409cd64ef6fe03199ea3
